package cn.ybk.system.service.impl;

import cn.ybk.system.domain.Aop;
import cn.ybk.system.mapper.AopMapper;
import cn.ybk.system.service.AopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AopServiceImpl implements AopService {

    @Autowired
    private AopMapper aopMapper;

    @Override
    public void add(Aop aop) {
        aopMapper.add(aop);
    }

    @Override
    public List<Aop> findAll() {
        return aopMapper.findAll();
    }
}
